package cn.jnetty.api.handler;

import java.io.IOException;

/**
 * @author 猪哥亮
 * @email 1030681978@qq.com
 * @date 2020/4/9 11:15
 * 描述：
 */
public interface BytesParameterHandler extends ParameterHandler<byte[]> {
    @Override
    Object decode(byte[] buff, RequestDefinitionBean bean) throws IOException;

    @Override
    byte[] encode(Object o);
}
